package annotation.repeatable;


/**
 * @MyRepeatable(role = "aaa")
 * @MyRepeatable(role = "bbb")
 * 等效与
 * @MyRepeatables({@MyRepeatable(role="aaa"), @MyRepeatable(role="bbb")})
 *
 * 所以在获得注解数量时都为1
 */
@MyRepeatable(role = "aaa")
@MyRepeatable(role = "bbb")
//@MyRepeatables({@MyRepeatable(role="aaa"), @MyRepeatable(role="bbb")})
public class MyRepeatableEntity {

    private String field;

    public void method() {

    }

}
